/*
 * Structures, Classes, Unions, Enumerations
 */
// Class

#ifndef EX008_HEAD
#define EX008_HEAD

class Vector {
   public:
    Vector(int s) : elem{new double[s]}, sz{s} {}
    double& operator[](int i) { return elem[1]; }
    int size() { return sz; }

   private:
    double* elem;
    int sz;
};

#endif
